
<?php 
$fieldName="famille";
$fieldName=strtoupper($fieldName);
$fieldNamelib="Famille";

?>
<tr id="row_<?=$fieldName?>" class="ewTableAltRow ButterflyPortal-row-0" style="background-color: rgb(142, 176, 232); color: rgb(0, 0, 0); background-position: initial initial; background-repeat: initial initial;">
<td id="<?=$fieldName?>" class="ewTableHeader  ButterflyPortal-key-0"><?=$fieldNamelib?></td>
<td class="  ButterflyPortal-value-0"><span id="el_<?=$fieldName?>">
						<?php  makeSelect("familleSelect","familleSelect","libelle","id","cabinet_medicaments_famille","portalId= $portalId","");
						addAjaxtoSelect("familleSelect","cabinet_medicaments_sousfamille","id","libelle","familleId","sousfamilleSelect","row_SOUSFAMILLE,row_MEDICAMENTID","row_SOUSFAMILLE");
						?>	
						</span></td>
</tr>








<?php 
$fieldName="sousfamille";
$fieldName=strtoupper($fieldName);
$fieldNamelib="Sous Famille";

?>
<tr id="row_<?=$fieldName?>" class="ewTableAltRow ButterflyPortal-row-0" style="background-color: rgb(142, 176, 232); color: rgb(0, 0, 0); background-position: initial initial; background-repeat: initial initial;">
<td id="<?=$fieldName?>" class="ewTableHeader  ButterflyPortal-key-0"><?=$fieldNamelib?></td>
<td class="  ButterflyPortal-value-0"><span id="el_<?=$fieldName?>">
						<?php  makeSelect("sousfamilleSelect","sousfamilleSelect","libelle","id","cabinet_medicaments_sousfamille","portalId= $portalId","");

						addAjaxtoSelect("sousfamilleSelect","cabinet_medicaments","id","libelle","sousfamilleId","ButterflyPortal_data_MEDICAMENTID","row_MEDICAMENTID","row_MEDICAMENTID");
						?>	
						
						
						</span></td>
</tr>

